import 'package:json_annotation/json_annotation.dart';
import 'class_item_model.dart';
part 'class_list_model.g.dart';

@JsonSerializable()
class ClassListModel {
  /// 课程item
  List<ClassItemModel>? courses;
  String? time;
  String? title;
  int? type;
  String? jump_url;

  ClassListModel(this.courses,this.time,this.title,this.type,this.jump_url);
  factory ClassListModel.fromJson(Map<String,dynamic> json) => _$ClassListModelFromJson(json);
  Map<String, dynamic> toJson() => _$ClassListModelToJson(this);

}